Platform Core .NET Assemblies API
FetchFromDB(Dictionary<String,Object>,Boolean) Method
See Also  Send Feedback
Terrasoft.Core.Entities Namespace > Entity Class > FetchFromDB Method : FetchFromDB(Dictionary<String,Object>,Boolean) Method
conditions
Key-value collection containing conditions for entity query filtration.
useDisplayValues
Indicate whether to get primary display values. If true primary display values will be fetched.

Glossary Item Box

Fetches entity from database by specified conditions collection.

Syntax

 
C#
 
 

Parameters

conditions
Key-value collection containing conditions for entity query filtration.
useDisplayValues
Indicate whether to get primary display values. If true primary display values will be fetched.

Return Value

true if entity loaded. Otherwise returns false.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.